
// 定义首页模块ts类型
export interface ResponseData {
  code: number,
  success: boolean,
  msg: string,
  data?: any
}

export interface ISearchParams {
  page: number,
  size: number,
  md5?: string,
  channel?: string,
  status?: number
}

export interface ISelectOptionsType {
  label: string,
  value: number | string
}

export interface IListItemData {
  "appid"?: string,
  "bidfloor"?: number | null,
  "budget": number | null,
  "channel": string,
  "cpuModel": string,
  "downloadnum": number | null,
  "md5"?: string,
  "mlink": string | null,
  "msg"?: string,
  "name": string,
  "pkg"?: string,
  "rtaurl"?: any,
  "size": any,
  "tagid"?: string,
  "status"?: number,
  "url": string,
  "vnm"?: string,
  "vcd"?: number | string,
  "customer"?: string,
  "keywords"?: string,
  "detailList"?: ITagInputItemData[],
  "btime"?: string | null,
  "etime"?: string | null,
  [propsName: string]: any
}


export interface IHandlerItemData {
  label: string,
  key: string,
  category: string,
  type?: string,
  require: boolean,
  options?: any[],
  updateDisabled?: boolean 
}

export interface ITagInputItemData {
  id?: string | number,
  bidfloor?: string | number,
  keyword?: string,
  tagid?: string,
  [propName: string]: any
}

export interface ITableShowKey {
  title: string,
  key: string,
  width?: number | string 
}

export interface IPageMapData {
  pageType: string,
  showAddButton: boolean,
  tableListShowKey: string[]
}